package main.java.com.silence.service.impl;

import com.silence.dao.IBillTypeDao;
import com.silence.pojo.BillType;
import com.silence.service.IBillTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Author: silence
 * Date: 17-6-12
 */
@Service("billTypeService")
public class BillTypeServiceImpl implements IBillTypeService {
    @Resource
    private IBillTypeDao billTypeDao;

    @Override
    public List<BillType> findAll() {
        return billTypeDao.selectAll();
    }
}
